{% extends 'front/front_signbase.html' %}
{% from 'common/_macros.html' import static %}

{% block title -%}
    找回密码
{%- endblock %}

{% block head -%}
    {{ super() }}
    <script src="{{ static('common/get_email_captcha.js') }}"></script>
    <script src="{{ static('front/js/front_fpwd.js') }}"></script>
{%- endblock %}

{% block page_title -%}
    BBS论坛密码找回
{%- endblock %}

{% block form_data -%}
    <div class="form-group">
        <div class="input-group">
            <input type="email" class="form-control" name="email" placeholder="请输入您的邮箱">
            <span class="input-group-addon" id="captcha-btn" style="cursor: pointer;">获取验证码</span>
        </div>
    </div>
    <div class="form-group">
        <input type="text" class="form-control" name="captcha" placeholder="输入验证码">
    </div>
    <div class="form-group">
        <input type="password" class="form-control" required name="password" placeholder="输入新密码">
    </div>
    <div class="form-group">
        <button class="btn btn-primary" id="submit-fpwd-btn">立即修改</button>
        <a href="{{ url_for('front.signin') }}" class="btn btn-warning" style="float: right">返回登录</a>
    </div>
{%- endblock %}